set(src_list_pub
    ${CMAKE_CURRENT_SOURCE_DIR}/reduce_scatter_nhr.cc
    ${CMAKE_CURRENT_SOURCE_DIR}/reduce_scatter_nhr_v1.cc
    ${CMAKE_CURRENT_SOURCE_DIR}/reduce_scatter_nb.cc
    ${CMAKE_CURRENT_SOURCE_DIR}/reduce_scatter_hd_stage.cc
    ${CMAKE_CURRENT_SOURCE_DIR}/reduce_scatter_local_reduce.cc
    ${CMAKE_CURRENT_SOURCE_DIR}/reduce_scatter_pipeline.cc
    ${CMAKE_CURRENT_SOURCE_DIR}/reduce_scatter_unified_march.cc
)

target_sources(hccl_alg_research PRIVATE
    ${src_list_pub}
)

target_sources(ccl_kernel PRIVATE
    ${src_list_pub}
)